Replace use of obsolete eshell-kill-output in test
authorMattias Engdegård <mattiase@acm.org>
Fri, 23 Feb 2024 12:14:18 +0000 (13:14 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 23 Feb 2024 12:14:18 +0000 (13:14 +0100)
* test/lisp/eshell/eshell-tests.el (eshell-test/flush-output):
Use eshell-delete-output instead of eshell-kill-output.

test/lisp/eshell/eshell-tests.el

index e01e033e25e135f8dff4acf685abe6d8face7ff5..e58b5a14ed9ce8513ae412653617791e05ec62a4 100644 (file)
@@ -153,7 +153,7 @@ insert the queued one at the next prompt, and finally run it."
   "Test flushing of previous output"
   (with-temp-eshell
    (eshell-insert-command "echo alpha")
-   (eshell-kill-output)
+   (eshell-delete-output)
    (should (eshell-match-output
             (concat "^" (regexp-quote "*** output flushed ***\n") "$")))))